Repository navigation
Add Xiaomi to website supporters - #1056
Conversation
|
/remove-kind design |
|
preview link: https://deploy-preview-1056--karmada.netlify.app/
|
|
/cc @RainbowMango |
| import gmicloud from "../../static/img/supporters/gmicloud.png" | ||
| import wellhub from "../../static/img/supporters/wellhub.png" | ||
| import qwen from "../../static/img/supporters/qwen.png" | ||
| import xiaomi from "!!url-loader!../../static/img/supporters/xiaomi.svg" |
There was a problem hiding this comment.
Docusaurus imports SVG files as React components, not image URLs, so we need to load Xiaomi’s SVG as a URL using an explicit url-loader import.
Or I can just convert its format to PNG.
There was a problem hiding this comment.
Chose the second option for consistency.
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Xiaomi supporter-list addition.
No open issues 🎉
What changed in this PR
Adds Xiaomi to the website’s supporter list using the existing data-driven display.
Changes:
- Adds the Xiaomi SVG logo.
- Registers Xiaomi’s logo and alternative text in the supporter data.
| File | Description |
|---|---|
static/img/supporters/xiaomi.svg |
Adds the Xiaomi logo asset. |
src/data/supporters.js |
Imports the logo and adds Xiaomi to the supporter list. |
Review effort: Max
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |


What type of PR is this?
/kind documentation
What this PR does / why we need it:
Add Xiaomi to website supporters
Which issue(s) this PR fixes:
Part of karmada-io/community#221
Special notes for your reviewer:
NONE